<?php $this->load->view('common/header'); ?>
<?php $this->load->view('common/menu'); ?>
<!--
<div class="banner_bar">
    <div class="box">
        <div class="top_new">
           <?php if ($banner2) : ?>
            <?php foreach ($banner2 as $key => $val) { ?>
                <a href="<?php echo $val['link']; ?>">
                    <span><?php echo $val['title']; ?></span>
                    <img src="<?php echo $val['pic_url']; ?>">
                </a>
           <?php } ?>
           <?php endif; ?>
        </div>
    </div>
</div>
-->
<!-- hot_ad [[-->
<div class="news_top">
    <div class="top_font">
        <?php if ($up) : ?>
            <a href="/news_show/<?php echo $up['id']; ?>.html">
                <span><?php echo $up['title']; ?></span>
                <p><?php echo $up['describe']; ?></p>
            </a>
        <?php endif; ?>
    </div>
  			 <?php if ($banner) : ?>
            <?php foreach ($banner as $key => $val) { ?>
                  <div class="top_ad">
                    <a href="<?php echo $val['link']; ?>"><img src="<?php echo $val['pic_url']; ?>"></a>
                </div>
           <?php } ?>
           <?php endif; ?>
</div>
<!--]] hot_ad -->
<div class="hot_bar">
    <div class="box">
        <div class="top_new f_l">
            <?php if ($recommend) : ?>
                <a href="/news_show/<?php echo $recommend['id']; ?>.html">
                    <span><?php echo $recommend['title']; ?></span>
                    <img src="<?php echo $recommend['img']; ?>">
                </a>
            <?php endif; ?>
        </div>

        <div class="top_list f_r">
                <h1>
                    <a href="javascript:;" id="hot" class="on">政法头条</a>
                    <a href="javascript:;" id="jiguan">机关动态</a>
                </h1>
            <ul id="hot_div">
                <?php if ($toutiao) : ?>
                    <?php foreach ($toutiao as $key => $val) : ?>
                            <li class="swiper-slide">
                                <a href="/news_show/<?php echo $val['id']; ?>.html">
                                    <?php echo $val['title']; ?>
                                </a>
                            </li>
                    <?php endforeach; ?>
                <?php endif; ?>

            </ul>
            <ul style="display: none;" id="jiguan_div">
                <?php if ($jiguan) : ?>
                    <?php foreach ($jiguan as $key => $val) : ?>
                        <li class="swiper-slide">
                            <a href="/news_show/<?php echo $val['id']; ?>.html">
                                <?php echo $val['title']; ?>
                            </a>
                        </li>
                    <?php endforeach; ?>
                <?php endif; ?>

            </ul>
        </div>
    </div>
</div>
<!--]] hot_new -->
<!-- new_list [[-->
<div class="news_bar">
    <div class="bar_left f_l">
        <!-- 平安广州 [[-->
        <div class="list_bar">
            <div class="title">
                <a href="#" class="tit on"><span><b>平安</b>广州</span></a>
                <a href="/safe.html" class="more">更多</a>
            </div>
            <div class="list">

                <h1>
                    <?php if ($pingan) : ?>
                        <a href="/news_show/<?php echo $pingan[0]['id']; ?>.html">
                            <span><?php echo $pingan[0]['title']; ?></span>
                            <img src="<?php echo $pingan[0]['img']; ?>">
                        </a>
                    <?php endif; ?>
                </h1>
                <ul>
                    <?php if ($pingan) : ?>
                        <?php foreach ($pingan as $key => $val) : ?>
                            <?php if ($key > 0) : ?>
                                <li>
                                    <a href="/news_show/<?php echo $val['id']; ?>.html">
                                        <?php echo $val['title']; ?>
                                    </a>
                                </li>
                            <?php endif; ?>
                        <?php endforeach; ?>
                    <?php endif; ?>
                </ul>
            </div>
        </div>
        <!--]] 平安广州 -->
        <!-- 法治广州 [[-->
        <div class="list_bar">
            <div class="title">
                <a href="#" class="tit on"><span><b>法治</b>广州</span></a>
                <a href="/rule.html" class="more">更多</a>
            </div>
            <div class="list">
                <h1>
                    <?php if ($fazhi) : ?>
                        <a href="/news_show/<?php echo $fazhi[0]['id']; ?>.html">
                            <span><?php echo $fazhi[0]['title']; ?></span>
                            <img src="<?php echo $fazhi[0]['img']; ?>">
                        </a>
                    <?php endif; ?>
                </h1>
                <ul>
                    <?php if ($fazhi) : ?>
                        <?php foreach ($fazhi as $key => $val) : ?>
                            <?php if ($key > 0) : ?>
                                <li>
                                    <a href="/news_show/<?php echo $val['id']; ?>.html">
                                        <?php echo $val['title']; ?>
                                    </a>
                                </li>
                            <?php endif; ?>
                        <?php endforeach; ?>
                    <?php endif; ?>
                </ul>
            </div>
        </div>
        <!--]] 法治广州 -->
        <!-- 队伍建设 [[-->
        <div class="list_bar">
            <div class="title">
                <a href="#" class="tit on"><span><b>队伍</b>建设</span></a>
                <a href="/team.html" class="more">更多</a>
            </div>
            <div class="list">
                <ul>
                    <?php if ($duiwu) : ?>
                        <?php foreach ($duiwu as $key => $val) : ?>
                            <li>
                                <a href="/news_show/<?php echo $val['id']; ?>.html" class="tit">
                                    <?php echo $val['title']; ?>
                                </a>
                            </li>
                        <?php endforeach; ?>
                    <?php endif; ?>
                </ul>
            </div>
        </div>
        <!--]] 队伍建设 -->
        <!-- 
        <div class="tit_bar">
            <div class="title">
                <span><b>基层</b>创新</span>
                <a href="/chuangxin.html" class="more">更多</a>
            </div>
            <div class="list">
                <ul>
                    <?php if ($jiceng) : ?>
                        <?php foreach ($jiceng as $key => $val) : ?>
                            <li>
                                <a href="/news_show/<?php echo $val['id']; ?>.html" class="tit">
                                    <?php echo $val['title']; ?>
                                </a>
                                <font> <?php echo $val['describe']; ?><a
                                            href="/news_show/<?php echo $val['id']; ?>.html">[详细]</a></font>
                            </li>
                        <?php endforeach; ?>
                    <?php endif; ?>
                </ul>
            </div>
        </div>
        <div class="tit_bar">
            <div class="title">
                <span><b>他山</b>之石</span>
                <a href="/stone.html" class="more">更多</a>
            </div>
            <div class="list">
                <ul>
                    <?php if ($tashan) : ?>
                        <?php foreach ($tashan as $key => $val) : ?>
                            <li>
                                <a href="/news_show/<?php echo $val['id']; ?>.html" class="tit">
                                    <?php echo $val['title']; ?>
                                </a>
                                <font> <?php echo $val['describe']; ?><a
                                            href="/news_show/<?php echo $val['id']; ?>.html">[详细]</a></font>
                            </li>
                        <?php endforeach; ?>
                    <?php endif; ?>
                </ul>
            </div>
        </div>
          -->
    </div>
    <div class="bar_right f_r">
        <!-- 高层声音 [[-->
        <div class="list_bar">
            <div class="title">
                <a href="#" class="tit on"><span><b>高层</b>声音</span></a>
                <a href="/voice.html" class="more">更多</a>
            </div>
            <div class="list">
                <ul>
                    <?php if ($gaoceng) : ?>
                        <?php foreach ($gaoceng as $key => $val) : ?>
                            <li>
                                <a href="/news_show/<?php echo $val['id']; ?>.html" class="tit">
                                    <?php echo $val['title']; ?>
                                </a>
                            </li>
                        <?php endforeach; ?>
                    <?php endif; ?>
                </ul>
            </div>
        </div>
        <!--]] 高层声音 -->
        <!-- 政法时评 [[-->
        <div class="list_bar">
            <div class="title">
                <a href="javascript:;" class="tit on" id="zhengfa"><span><b>政法</b>时评</span></a>
                <a href="javascript:;" class="tit " id="lawer"><span><b>法律</b>讲堂</span></a>
                <a id="more1" href="/comment.html" class="more">更多</a>
            </div>
            <div class="list">
                <ul id="zhengfa_div">
                    <?php if ($zhengfa) : ?>
                        <?php foreach ($zhengfa as $key => $val) : ?>
                            <li>
                                <a href="/news_show/<?php echo $val['id']; ?>.html" class="tit">
                                    <?php echo $val['title']; ?>
                                </a>
                            </li>
                        <?php endforeach; ?>
                    <?php endif; ?>
                </ul>
                <ul id="lawer_div" style="display: none;">
                    <?php if ($lawer) : ?>
                        <?php foreach ($lawer as $key => $val) : ?>
                            <li>
                                <a href="/news_show/<?php echo $val['id']; ?>.html" class="tit">
                                    <?php echo $val['title']; ?>
                                </a>
                            </li>
                        <?php endforeach; ?>
                    <?php endif; ?>
                </ul>
            </div>
        </div>


        <!-- 共建共治共享 [[-->
        <div class="list_bar">
            <div class="title">
                <a  href="javascript:;" class="tit on" id="baitai"><span><b>社会</b>百态</span></a>
                <a  href="javascript:;" class="tit "  id="gongjian"><span><b>共建共治</b>共享</span></a>
                <a id="more2" href="/baitai.html" class="more">更多</a>
            </div>
            <div class="list">
                <ul  id="baitai_div">
                    <?php if ($baitai) : ?>
                        <?php foreach ($baitai as $key => $val) : ?>
                            <li>
                                <a href="/news_show/<?php echo $val['id']; ?>.html" class="tit">
                                    <?php echo $val['title']; ?>
                                </a>
                            </li>
                        <?php endforeach; ?>
                    <?php endif; ?>
                </ul>
                <ul  id="gongjian_div">
                    <?php if ($gongjian) : ?>
                        <?php foreach ($gongjian as $key => $val) : ?>
                            <li>
                                <a href="/news_show/<?php echo $val['id']; ?>.html" class="tit">
                                    <?php echo $val['title']; ?>
                                </a>
                            </li>
                        <?php endforeach; ?>
                    <?php endif; ?>
                </ul>
            </div>
        </div>
        <!--]] 共建共治共享 -->
        <!--]] 政法时评 -->
        <!-- 政法视频 [[-->
<!--        <div class="list_bar">-->
<!--            <div class="title">-->
<!--                <a href="#" class="tit on"><span><b>政法</b>视频</span></a>-->
<!--                <a href="/video.html" class="more">更多</a>-->
<!--            </div>-->
<!--            <div class="list">-->
<!--                <h2>-->
<!--                    --><?php //if ($video) : ?>
<!--                        <a href="/news_show/--><?php //echo $video[0]['id']; ?><!--.html">-->
<!--                            <img src="--><?php //echo $video[0]['img']; ?><!--">-->
<!--                        </a>-->
<!--                    --><?php //endif; ?>
<!--                </h2>-->
<!--                <ul>-->
<!--                    --><?php //if ($video) : ?>
<!--                        --><?php //foreach ($video as $key => $val) : ?>
<!--                            --><?php //if ($key > 0) : ?>
<!--                                <li>-->
<!--                                    <a href="/news_show/--><?php //echo $val['id']; ?><!--.html">-->
<!--                                        --><?php //echo $val['title']; ?>
<!--                                    </a>-->
<!--                                </li>-->
<!--                            --><?php //endif; ?>
<!--                        --><?php //endforeach; ?>
<!--                    --><?php //endif; ?>
<!--                </ul>-->
<!--            </div>-->
<!--        </div>-->
        <!--]] 政法视频 -->
    </div>
</div>
<!--]] new_list -->
<!-- service [[-->
<div class="service_bar">
    <div class="title">
        <span><b>法律</b>服务</span>
        <a href="mailto:gzzfx2017@163.com">留言邮箱：gzzfx2017@163.com</a>
    </div>
    <div class="list">
        <ul>
            <li>
                <a href="http://121.8.227.158" target="_blank">
                    <i class="ico ico_01"></i>
                    <p>出入境服务</p>
                </a>
            </li>
            <li>
                <a href="http://www.gzjd.gov.cn/cgs/html/hall/index.html" target="_blank">
                    <i class="ico ico_02"></i>
                    <p>违章查询</p>
                </a>
            </li>
            <li>
                <a href="http://113.108.173.48/fuzhulanmu/zhinengxiaosi/" target="_blank">
                    <i class="ico ico_03"></i>
                    <p>法律援助</p>
                </a>
            </li>
            <li>
                <a href="http://www.gzcourt.org.cn/cpws" target="_blank">
                    <i class="ico ico_04"></i>
                    <p>裁判文书</p>
                </a>
            </li>
            <li>
                <a href="http://121.8.227.165/house_client/main.do" target="_blank">
                    <i class="ico ico_05"></i>
                    <p>户政业务</p>
                </a>
            </li>
            <li>
                <a href="http://www.gzcourt.org.cn/fygg/ktgg" target="_blank">
                    <i class="ico ico_06"></i>
                    <p>法院公告</p>
                </a>
            </li>
            <li>
                <a href="http://xy.moj.gov.cn/node_86666.htm" target="_blank">
                    <i class="ico ico_07"></i>
                    <p>司法考试</p>
                </a>
            </li>
            <li>
                <a href="http://www.gzjjjc.gov.cn/gzsjw/jbts/newjbts.shtml" target="_blank">
                    <i class="ico ico_08"></i>
                    <p>检举举报</p>
                </a>
            </li>
            <li>
                <a href="http://www.gzmz.gov.cn/gzsmzj/bxrx/list_tt.shtml" target="_blank">
                    <i class="ico ico_09"></i>
                    <p>民政热线</p>
                </a>
            </li>
        </ul>
    </div>
</div>
<script>
    $(function () {
        $("#hot").click(function () {
            $(this).addClass("on");
            $("#jiguan").removeClass("on");
            $("#hot_div").show();
            $("#jiguan_div").hide();
        });

        $("#jiguan").click(function () {
            $(this).addClass("on");
            $("#hot").removeClass("on");
            $("#hot_div").hide();
            $("#jiguan_div").show();
        });

        $("#zhengfa").click(function () {
            $(this).addClass("on");
            $("#lawer").removeClass("on");
            $("#zhengfa_div").show();
            $("#lawer_div").hide();
            $("#more1").attr("href","/comment.html");
        });

        $("#lawer").click(function () {
            $(this).addClass("on");
            $("#zhengfa").removeClass("on");
            $("#zhengfa_div").hide();
            $("#lawer_div").show();
            $("#more1").attr("href","/lawer.html");
        });

        $("#baitai").click(function () {
            $(this).addClass("on");
            $("#gongjian").removeClass("on");
            $("#baitai_div").show();
            $("#gongjian_div").hide();
            $("#more2").attr("href","/baitai.html");
        });

        $("#gongjian").click(function () {
            $(this).addClass("on");
            $("#baitai").removeClass("on");
            $("#baitai_div").hide();
            $("#gongjian_div").show();
            $("#more2").attr("href","/shared.html");
        });
    });
</script>
<?php $this->load->view('common/footer'); ?>
